package com.settlement.system.mapper;

import com.settlement.system.model.entity.common.CommonPlugIn;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 联表查询表配置表 Mapper 接口
 * @author xiaochuan
 * @since 2022-01-18
 */
public interface TblQueryTableConfigMapper extends BaseMapper {

    public String getTableNameCnByTableNameZn(@Param("tableNameZn") String tableNameZn);

    /**
     * 查询系统条件配置表名列表
     * @param params
     * @return
     */
    List<CommonPlugIn> pullTableNameList(@Param("params") Map<String, Object> params);

    /**
     * 通过中文表名获取对应数据库表名
     * @param tableNameCn
     * @return
     */
    String getDataBaseTableNameByTableNameCn(@Param("tableNameCn") String tableNameCn);
}

